package com.smz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smz.dao.TShippingDAO;
import com.smz.entity.TShipping;
import com.smz.service.TShippingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TShippingServiceImpl extends ServiceImpl<TShippingDAO, TShipping> implements TShippingService {
    @Autowired
    private TShippingDAO tShippingDAO;

    @Override
    public List<TShipping> findTShipping() {
        return tShippingDAO.selectTShipping();
    }

    @Override
    public TShipping findTShippingOrderNumber(int orderNumber) {
        return tShippingDAO.selectTShippingOrderNumber(orderNumber);
    }
}
